/********************************************************/
/*	Copyright (C) 2016 Gong Li Bin			*/
/*	Project:	GlbCloud			*/
/*	Author:		gong_libin			*/
/*	Date:		2012_02_20			*/
/*	File:		MrDef.h				*/
/********************************************************/

#ifndef _MRDEF_H
#define	_MRDEF_H

#ifdef __cplusplus
	extern "C" {
#endif

/* type */
#define	MR_DEF_POLL			0x01
#define	MR_DEF_EHUB			0x02
#define	MR_DEF_MYSL			0x03
#define	MR_DEF_PGSL			0x04
#define	MR_DEF_ORAL			0x05

/* verb */
#define	MR_DEF_CRTE			0x01
#define	MR_DEF_DTRY			0x02
#define	MR_DEF_SELT			0x03
#define	MR_DEF_INST			0x04
#define	MR_DEF_DELT			0x05
#define	MR_DEF_UPDT			0x06
#define	MR_DEF_BAKP			0x07
#define	MR_DEF_REUS			0x08

/* attr */
#define	MR_DEF_REQU			0x01
#define	MR_DEF_RESP			0x02
#define	MR_DEF_FORC			0x03

/* rest */
#define	MR_DEF_SUCC			0x00
#define	MR_DEF_NULL			0x01
#define	MR_DEF_MALC			0x02
#define	MR_DEF_TYPE			0x03
#define	MR_DEF_VERB			0x04
#define	MR_DEF_ATTR			0x05
#define	MR_DEF_TOTA			0x06
#define	MR_DEF_LENG			0x07
#define	MR_DEF_EXPA			0x08
#define	MR_DEF_KYER			0x09
#define	MR_DEF_VLER			0x10

#define	MR_DEF_CONN			0x11
#define	MR_DEF_SEND			0x12
#define	MR_DEF_RECV			0x13

#define	MR_DEF_FLNW			0x20
#define	MR_DEF_FLOP			0x21
#define	MR_DEF_FLMP			0x22
#define	MR_DEF_FLRD			0x23
#define	MR_DEF_FLWR			0x24
#define	MR_DEF_FLCL			0x25
#define	MR_DEF_FLER			0x26

#define	MR_DEF_LKNW			0x30
#define	MR_DEF_LKLK			0x31
#define	MR_DEF_LKUL			0x32
#define	MR_DEF_LKER			0x33

#define	MR_DEF_UNKN			0xff
#define	MR_DEF_FULL			0xff

#ifdef __cplusplus
	}
#endif

#endif /* _MRDEF_H */
